/**
 * meiguang8.com
 * Copyright (C) 2016-2019 All Rights Reserved.
 */
package com.yuanchuang.yp.mall.product.dubbo.service.impl;

import com.alibaba.dubbo.config.annotation.Reference;
import com.yuanchuang.yp.mall.product.IProductDetailService;
import org.springframework.stereotype.Component;

import java.util.UUID;

/**
 * class_name: CompoentBean
 * package: com.yuanchuang.yp.mall.product
 * describe: TODO
 * @author: yuanyuan.zhu
 * creat_date: 2019/7/10
 * creat_time: 15:26
 **/
@Component
public class ComponentBean {
    @Reference(application="dubbo_consumer")
    IProductDetailService iProductDetailService;

    public  void  say(){
        iProductDetailService.sayHello(UUID.randomUUID().toString());
    }
}
